package oop4;

/**
 * @author oldliu
 * @since 1.0
 */
public class DriverTest {
    public static void main(String[] args) {
        Driver d=new Driver("老宋",15);
        Car c=new Car("马萨拉蒂",800000);
        d.drive(c);
        System.out.println(">>>>>>>>>>>>>>>>>>>>");
        Bus b=new Bus("118","曙光影院","大蜀山");
        d.drive(b);
        System.out.println(">>>>>>>>>>>>>>>>>>>>");
        Taxi t=new Taxi("合肥新亚客运公司","皖A948873");
        d.drive(t);
    }
}
